package cn.yhbk.web.modules.manager.Pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 活动表
 * </p>
 *
 * @author 有何不可
 * @since 2024-02-04
 */
@Getter
@Setter
@TableName("tb_items")
@ApiModel(value = "TbItems对象", description = "活动表")
public class TbItems implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("活动编号")
    @TableId(value = "contest_no", type = IdType.AUTO)
    private Long contestNo;

    @ApiModelProperty("活动名称")
    @TableField("contest_name")
    private String contestName;

    @ApiModelProperty("关键字")
    @TableField("`key`")
    private String key;

    @ApiModelProperty("A/B类")
    @TableField("category")
    private String category;

    @ApiModelProperty("当前状态，0表示被拒绝")
    @TableField("status")
    private Byte status;
}
